<?php

class Classroom extends _F_EXTENSION_DATA_MODEL_ {
	
	public $id;
	
	public function __construct() {
		$this->_f_fields_ = array('id','name','password','description');
		$this->_f_pkey_field_ = 'id';
		$this->_f_autoincrement_ = true;
		$this->_f_table_ = 'classroom';
	}
	
}

class Student extends _F_EXTENSION_DATA_MODEL_ {
	
	public $id;
	
	public function __construct() {
		$this->_f_fields_ = array('id','name','image','classroom_id');
		$this->_f_pkey_field_ = 'id';
		$this->_f_autoincrement_ = true;
		$this->_f_table_ = 'student';
	}
	
}

class Appraisal extends _F_EXTENSION_DATA_MODEL_ {
	
	public $id;
	
	public function __construct() {
		$this->_f_fields_ = array('id','student_id','name',
			'value','comment','image','date');
		$this->_f_pkey_field_ = 'id';
		$this->_f_autoincrement_ = true;
		$this->_f_table_ = 'appraisal';
	}
	
}
